package com.sigmatrix.h5.entity.v2;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.mapper.SqlCondition;
import com.sigmatrix.h5.entity.base.SuperEntity;

import io.swagger.annotations.ApiModelProperty;

/**
 * 
 *@ClassName: DisTerminalShop
 *@Description: 终端门店实体类
 */
@TableName(value="_distribution_terminal_shop")
public class DisTerminalShop extends SuperEntity<DisTerminalShop> {

	private static final long serialVersionUID = -7968251683759441098L;
	
	@ApiModelProperty("终端店名称")
	@TableField(value="_name",condition=SqlCondition.LIKE)
	private String name;
	
	@ApiModelProperty("终端店编码")
	@TableField("_code")
	private String code;
	
	@ApiModelProperty("基础数据ID，对于平台来说暂时没用")
	@TableField("_enterprise_id")
	private Integer enterpriseId;
	
	@ApiModelProperty("终端店对应的经销商ID，已经过时，现在保存在明细表里")
	@TableField("_dealer_id")
	private Integer dealerId;
	
	@ApiModelProperty("联系人")
	@TableField("_contact")
	private String contact;
	
	@ApiModelProperty("联系电话")
	@TableField("_mobile_phone")
	private String mobilePhone;
	
	@ApiModelProperty("营业执照")
	@TableField("_license_code")
	private String licenseCode;
	
	@ApiModelProperty("所在省份")
	@TableField("_province")
	private Integer province;
	
	@ApiModelProperty("所在城市")
	@TableField("_city")
	private Integer city;
	
	@ApiModelProperty("所在区县")
	@TableField("_city_sub_ordinate")
	private Integer citySubOrdinate;
	
	@ApiModelProperty("详细地址")
	@TableField("_address")
	private String address;
	
	@ApiModelProperty("状态 -1删除 0禁用 1启用 2未审核")
	@TableField("_status")
	private Short status;
	
	@ApiModelProperty("开始时间")
	@TableField("_start_time")
	private Date startTime;
	
	@ApiModelProperty("结束时间")
	@TableField("_end_time")
	private Date endTime;
	
	@ApiModelProperty("创建人ID")
	@TableField("_creator_id")
	private Integer creatorId;
	
	@ApiModelProperty("创建时间")
	@TableField("_create_time")
	private Date createTime;
	
	@ApiModelProperty("更新人")
	@TableField("_update_id")
	private Integer updateId;
	
	@ApiModelProperty("更新时间")
	@TableField("_update_time")
	private Date updateTime;
	
	@TableField("_disable_id")
	private Integer disableId;
	
	@TableField("_disable_time")
	private Date disableTime;
	
	@TableField("_enable_id")
	private Integer enableId;
	
	@TableField("_enable_time")
	private Date enableTime;
	
	@ApiModelProperty("备注")
	@TableField("_remarks")
	private String remarks;
	
	@ApiModelProperty("暂时无效")
	@TableField("_apply_type")
	private Short applyType;
	
	@ApiModelProperty("openId，已经过时，保存在终端店明细表里了")
	@TableField("_open_id")
	private String openId;
	
	@ApiModelProperty(dataType="com.sigmatrix.sc.distribution.rebate.inter.enums.ShopType")
	@TableField("_type")
	private Short type;
	
	@ApiModelProperty("经度")
	@TableField("_lat")
	private String lat;
	
	@ApiModelProperty("维度")
	@TableField("_lng")
	private String lng;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public Integer getEnterpriseId() {
		return enterpriseId;
	}
	public void setEnterpriseId(Integer enterpriseId) {
		this.enterpriseId = enterpriseId;
	}
	public Integer getDealerId() {
		return dealerId;
	}
	public void setDealerId(Integer dealerId) {
		this.dealerId = dealerId;
	}
	public String getContact() {
		return contact;
	}
	public void setContact(String contact) {
		this.contact = contact;
	}
	public String getLicenseCode() {
		return licenseCode;
	}
	public void setLicenseCode(String licenseCode) {
		this.licenseCode = licenseCode;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Short getStatus() {
		return status;
	}
	public void setStatus(Short status) {
		this.status = status;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public Integer getCreatorId() {
		return creatorId;
	}
	public void setCreatorId(Integer creatorId) {
		this.creatorId = creatorId;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Integer getUpdateId() {
		return updateId;
	}
	public void setUpdateId(Integer updateId) {
		this.updateId = updateId;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Integer getDisableId() {
		return disableId;
	}
	public void setDisableId(Integer disableId) {
		this.disableId = disableId;
	}
	public Date getDisableTime() {
		return disableTime;
	}
	public void setDisableTime(Date disableTime) {
		this.disableTime = disableTime;
	}
	public Integer getEnableId() {
		return enableId;
	}
	public void setEnableId(Integer enableId) {
		this.enableId = enableId;
	}
	public Date getEnableTime() {
		return enableTime;
	}
	public void setEnableTime(Date enableTime) {
		this.enableTime = enableTime;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public Short getApplyType() {
		return applyType;
	}
	public void setApplyType(Short applyType) {
		this.applyType = applyType;
	}
	public Integer getProvince() {
		return province;
	}
	public void setProvince(Integer province) {
		this.province = province;
	}
	public Integer getCity() {
		return city;
	}
	public void setCity(Integer city) {
		this.city = city;
	}
	public Integer getCitySubOrdinate() {
		return citySubOrdinate;
	}
	public void setCitySubOrdinate(Integer citySubOrdinate) {
		this.citySubOrdinate = citySubOrdinate;
	}
	/**
	 *@return the openId
	 */
	public String getOpenId() {
		return openId;
	}
	/**
	 *@param openId the openId to set
	 */
	public void setOpenId(String openId) {
		this.openId = openId;
	}
	/**
	 *@return the mobilePhone
	 */
	public String getMobilePhone() {
		return mobilePhone;
	}
	/**
	 *@param mobilePhone the mobilePhone to set
	 */
	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}
	public Short getType() {
		return type;
	}
	public void setType(Short type) {
		this.type = type;
	}
	public String getLat() {
		return lat;
	}
	public void setLat(String lat) {
		this.lat = lat;
	}
	public String getLng() {
		return lng;
	}
	public void setLng(String lng) {
		this.lng = lng;
	}
	
}
